package cn.z2huo.knowledge.basic.number.integer;

class Test {
    public static void main(String[] args) {
        String string = "1";
//        String string = "";
        Integer integer = Integer.valueOf(string);
        System.out.println(integer);

        int cap = 16;
        int i = Integer.numberOfLeadingZeros(cap - 1);
        System.out.println(i);

        int hashMapMaxCap = 1 << 30;
        System.out.println(hashMapMaxCap);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MAX_VALUE - hashMapMaxCap);
    }
}